﻿<!--- ==================================================
NAME:	get_order2.cfm
DESC:	This is the file that gets a single order.
=================================================== --->
<cfsetting enablecfoutputonly="yes">

<!--- default data --->
<cfparam name="arguments.customerid">
<cfparam name="arguments.order_number">
<cfset arguments.arraylist="shopping_cart.line_item,configuration.component,configuration.warranty,product.warranty,order.payment,order.suborder,baseunit.serial_number,serial_numbers.number,tracking_numbers.number,holds.hold,document_flow.document">


<!--- build xml statement --->
<cfscript>
xi_namespace='#trim(application.xi_namespace)#:ORDERS:GetOrder2';
xi_interface='GetOrder2_OB';
xml = '<xtiinput>
	<inputheader>
		<actionset>
			<action>get_order2</action>
		</actionset>
	</inputheader>
	<inputdata>
		<system>#variables.system#</system>
		<customerid>#arguments.customerid#</customerid>
		<order_number>#ucase(arguments.order_number)#</order_number>	
	</inputdata>
</xtiinput>';
</cfscript>